<?php

namespace App\Models;

use App\Library\Models\Entity;
use Illuminate\Database\Eloquent\SoftDeletes;

class ShopHandbookModel extends Entity
{
    use SoftDeletes;

    protected $table = 'shop_handbook';
    
    protected $primaryKey = 'hb_id';
    
    protected $casts = ['file_ids' => 'json'];

    protected $fillable = [
        'hb_id',
        'serial_number',
        'user_id',
        'status',
        'hb_title',
        'hb_remark',
        'hb_url',
        'file_ids',
        'operate_id',
        'ok_reason',
        'fail_reason',
        'created_at',
        'updated_at',
        'deleted_at'
    ];
}
